<style>
    .complain-left{height:100%;border:1px solid #ddd;text-align:left;float:left}
    .complain-order-head{width:100%;height:25px;line-height:25px;border-bottom:1px solid #ddd;font-weight:bold;padding:5px;background:#f5f5f5}
    .complain-order-goods{width:240px;height:200px;line-height:30px;padding:5px;border-bottom:1px solid #ddd;overflow-y:auto}
    .complain-order-info{padding:5px;display:block;height:100%;float:left}
    .complain-order-info dl{display:inline-block;position: relative}
    .complain-order-info dt{float:left;width:70px;color:#999;padding:1px 0;display:block;height:20px}
    .complain-order-info dd{overflow:hidden;color:#666;padding:1px 0;margin-left:70px;}

</style>
<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="col-md-4 col-sm-4 col-xs-4">
        <div class='complain-left'>
            <div class='complain-order-head'>订单商品</div>
            <div class='complain-order-goods'>
                {volist name="$row['goodsList']" id="goods" key='key2'}
                <a target='_blank' href="{:Url('home/goods/detail',array('ids'=>$goods['id']))}" title="{$goods['goodsname']}">

                    <img src="__MALLCDN__{$goods['goodsimg']}"  height="55" width="55" class='goodsImg'/>
                </a>
                {/volist}
            </div>
            <div class='complain-order-head'>订单信息</div>
            <div class='complain-order-info'>
                <dl class="dl-horizontal">
                    <dt>订单编号：</dt>
                    <dd>{$row['orderNo']}</dd>
                    <dt>订单金额：</dt>
                    <dd>{$row['realTotalMoney']}</dd>
                    <dt>运&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;费：</dt>
                    <dd>{$row['deliverMoney']}</dd>
                    <dt>下单时间：</dt>
                    <dd>{$row['createtime']}</dd>
                    <dt>商&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;家：</dt>
                    <dd>{$row['name']}</dd>
                </dl>
            </div>
        </div>

    </div>
    <div class="col-md-8 col-sm-8 col-xs-8">
        <input id="c-order_id" name="row[order_id]" type="hidden" value="{$row.order_id}">
        <input id="c-complainTargetId"  name="row[complainTargetId]" type="hidden" value="{$row.complainTargetId}">
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-3">{:__('Complaintype')}:</label>
            <div class="col-xs-12 col-sm-8">

                <select disabled id="c-complainType" data-rule="required" class="form-control selectpicker" name="row[complainType]">
                    {foreach name="complaintypeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.complainType"}selected{/in}>{$vo}</option>
                    {/foreach}
                </select>

            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-3">{:__('Complaincontent')}:</label>
            <div class="col-xs-12 col-sm-8">
                <textarea disabled id="c-complainContent" data-rule="required" class="form-control" rows="5" name="row[complainContent]" cols="50">{$row.complainContent}</textarea>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-3">{:__('Complainimgs')}:</label>
            <div class="col-xs-12 col-sm-8">
                <div class="input-group">
                    <input disabled id="c-complainimgs" class="form-control" size="50" name="row[complainimgs]" type="text" value="{$row.complainimgs}">
                    <div class="input-group-addon no-border no-padding">
                        <span><button disabled type="button" id="plupload-complainimgs" class="btn btn-danger plupload" data-input-id="c-complainimgs" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-complainimgs"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                        <span><button disabled type="button" id="fachoose-complainimgs" class="btn btn-primary fachoose" data-input-id="c-complainimgs" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                    </div>
                    <span class="msg-box n-right" for="c-complainimgs"></span>
                </div>
                <ul class="row list-inline plupload-preview" id="p-complainimgs"></ul>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-3">{:__('Needrespond')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input  id="c-needRespond" name="row[needRespond]" type="hidden" value="{$row.needRespond}">
                <a disabled href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="c-needRespond" data-yes="1" data-no="0" >
                    <i class="fa fa-toggle-on text-success {eq name="$row.needRespond" value="0"}fa-flip-horizontal text-gray{/eq} fa-2x"></i>
                </a>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-3">{:__('Deliverrespondtime')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input disabled id="c-deliverRespondTime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[deliverRespondTime]" type="text" value="{$row.deliverRespondTime}">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-3">{:__('Complaintime')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input disabled id="c-complainTime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[complainTime]" type="text" value="{$row.complainTime}">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-3">{:__('Complainstatus')}:</label>
            <div class="col-xs-12 col-sm-8">

                <select disabled id="c-complainStatus" data-rule="required" class="form-control selectpicker" name="row[complainStatus]">
                    {foreach name="complainstatusList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.complainStatus"}selected{/in}>{$vo}</option>
                    {/foreach}
                </select>

            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-3">{:__('Respondtargetid')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input disabled id="c-respondTargetId" data-rule="required" class="form-control" name="row[respondTargetId]" type="hidden" value="{$row.respondTargetId}">
                <input disabled id="c-respondTargetId_text" class="form-control" name="row[respondTargetId]" type="text" value="{$row.name}">

            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-3">{:__('Respondcontent')}:</label>
            <div class="col-xs-12 col-sm-8">
                <textarea disabled id="c-respondContent" class="form-control" rows="5" name="row[respondContent]" cols="50">{$row.respondContent}</textarea>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-3">{:__('Respondimgs')}:</label>
            <div class="col-xs-12 col-sm-8">
                <div class="input-group">
                    <input disabled id="c-respondimgs" class="form-control" size="50" name="row[respondimgs]" type="text" value="{$row.respondimgs}">
                    <div class="input-group-addon no-border no-padding">
                        <span><button disabled type="button" id="plupload-respondimgs" class="btn btn-danger plupload" data-input-id="c-respondimgs" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-respondimgs"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                        <span><button disabled type="button" id="fachoose-respondimgs" class="btn btn-primary fachoose" data-input-id="c-respondimgs" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                    </div>
                    <span class="msg-box n-right" for="c-respondimgs"></span>
                </div>
                <ul class="row list-inline plupload-preview" id="p-respondimgs"></ul>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-3">{:__('Respondtime')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input disabled id="c-respondTime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[respondTime]" type="text" value="{$row.respondTime}">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-3">{:__('Finalresult')}:</label>
            <div class="col-xs-12 col-sm-8">
                <textarea disabled id="c-finalResult" class="form-control " rows="5" name="row[finalResult]" cols="50">{$row.finalResult}</textarea>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-3">{:__('Finalresulttime')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input disabled id="c-finalResultTime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[finalResultTime]" type="text" value="{$row.finalResultTime}">
            </div>
        </div>
        <div class="form-group hidden">
            <label class="control-label col-xs-12 col-sm-3">{:__('Finalhandlestaffid')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input disabled id="c-finalHandleStaffId" class="form-control" name="row[finalHandleStaffId]" type="number" value="{$row.finalHandleStaffId}">
            </div>
        </div>
    </div>
</form>
